namespace CSharpPro._1030;


public class Child:Father
{
    private int id;
    
    public int Id
    {
        get => id;
        set => id = value;
    }
    public Child()
    {
        Console.WriteLine("Child---------Constructor");
    }

    public Child(int id):base(id)
    {
        this.id = id;
    }

    public override void Print()
    {
        Console.WriteLine("Child---------Print");
    }
    
    public override void M1()
    {
        throw new NotImplementedException();
    }
}